//
//  OMTViewController.m
//  OMTUIKit
//
//  Created by 昭荣伊 on 07/28/2018.
//  Copyright (c) 2018 昭荣伊. All rights reserved.
//

#import "OMTViewController.h"
#import <OMTUIKit/OMTBaseTableViewController.h>
#import <OMTCoreKit/OMTCoreKit.h>
#import "OMTUserViewController.h"

@interface OMTViewController ()

@end

@implementation OMTViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
}

- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
    OMTBaseTableViewController *ctrl = [[OMTUserViewController alloc] initWithStyle:UITableViewStylePlain];
    ctrl.view.backgroundColor = HexColor(0xFF0000);
    ctrl.tableView.backgroundColor = [UIColor greenColor];
    [self presentViewController:ctrl animated:YES completion:nil];
}

@end
